﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DetalleNotaAlumno.aspx.cs" Inherits="Profesores_DetalleNotaAlumno"  %>

<%@ Register Src="../Controles/CboGeneric.ascx" TagName="CboGeneric" TagPrefix="uc1" %>
<%@ Register Src="../Controles/HeaderPopUp.ascx" TagName="HeaderPopUp" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContainer" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>

    &nbsp;<uc2:HeaderPopUp ID="HeaderPopUp1" runat="server" />
    <asp:Xml ID="Xml1" runat="server" DocumentSource="~/DataTest/NotasBimentrales.xml"
        TransformSource="~/DataTest/DetalleNotasLetra.xsl"></asp:Xml>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowEditing="GridView1_RowEditing">
        <Columns>
            <asp:BoundField DataField="ID" />
            <asp:TemplateField HeaderText="Modalidad">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Modalidad") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Modalidad") %>'></asp:Label>
                    <a href="#" onclick="alert('<%# Eval("Modalidad") %>');" >Editar</a>
                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval("Modalidad") %>'></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" />
        </Columns>
    </asp:GridView>
    &nbsp;&nbsp;
    <asp:Button ID="Guardar" runat="server" Text="Guardar" OnClick="Guardar_Click" />
    <asp:Button ID="Button1" runat="server" Text="Agregar" />
</asp:Content>

